package edu.utwente.sem.hrs.model;

/**
 * Represents a role that a person can have 
 * @author Robert Maaskant & Dennis van der Zwet
 *
 */
public abstract class PersoonRol
{
  /**
   * The person that has this role
   */
  private Persoon persoon;

  /**
   * Returns the person that is associated with this role
   * @return the person that is associated with this role
   */
  public Persoon getPersoon()
  {
    return persoon;
  }
  
  public void setPersoon(Persoon p)
  {
    persoon = p;
  }
  
  @Override
  public abstract String toString();
}
